/*  1:   */package com.linkage.bss.commons.util;
/*  2:   */
/* 11:   */public class ExceptionUtil
/* 12:   */{
/* 13:   */  public static String buildMessage(String message, Throwable cause)
/* 14:   */  {
/* 15:15 */    if (cause != null) {
/* 16:16 */      StringBuilder buf = new StringBuilder();
/* 17:17 */      if (message != null) {
/* 18:18 */        buf.append(message).append("; ");
/* 19:   */      }
/* 20:20 */      buf.append("nested exception is ").append(cause);
/* 21:21 */      return buf.toString();
/* 22:   */    }
/* 23:   */    
/* 24:24 */    return message;
/* 25:   */  }
/* 26:   */}


/* Location:           E:\workspace\sungl111\workspace_promotion\BizHallConfig\WebRoot\WEB-INF\lib\bss.commons-0.1.jar
 * Qualified Name:     com.linkage.bss.commons.util.ExceptionUtil
 * JD-Core Version:    0.7.0-SNAPSHOT-20130630
 */